From ea52b0e3f4391566524dfad0b52814667fd893b4 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Sun, 14 Feb 2016 15:58:37 +0100 Subject: [PATCH] pack.py: use the same TAR format as cargo --- debian/cargo-vendor-pack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/cargo-vendor-pack.py b/debian/cargo-vendor-pack.py index 7ae9ef1e8..e29c571bd 100755 --- a/debian/cargo-vendor-pack.py +++ b/debian/cargo-vendor-pack.py @@ -84,7 +84,7 @@ def main(): destdir=(os.path.join(cachedir, name, ver)) os.makedirs(destdir) tarcrate = os.path.join(destdir, "download") - tar = tarfile.open(tarcrate, "w:gz") + tar = tarfile.open(tarcrate, "w:gz", format=tarfile.USTAR_FORMAT) tar.add(os.path.join(depsdir, crate), arcname=crate) tar.close() -- 2.30.2